package co.com.javeriana.aes.patrones.saiii.cliente.consola;

import java.util.Scanner; 
public class test { 

public static void main(String[] args) { 

//System.in is for keyboard input. 
//Scanner can input files or keyboard input. 
Scanner in = new Scanner(System.in); 

System.out.print("Enter Quantity: "); 
int qty = in.nextInt(); 

System.out.print("Enter Price: "); 
double price = in.nextDouble(); 

in.nextLine(); 

System.out.print("Enter City: "); 
String city = in.nextLine();

System.out.print("Enter depto: "); 
String depto = in.nextLine();


System.out.println(""); 
System.out.println("you entered: " + qty + " " + price + " " + city+ " " + depto); 
} 
}
